<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>重复性渐变</title>
    <style>
        .repeat-linear{
           width:200px;
           height: 200px;
           background-image:  repeating-linear-gradient(red 0px,orange 40px,green 80px);
           /* 加上repeating */
        }
        .repeat-radial{
            width:200px;
           height: 200px;
           border-radius: 50%;
           background-image:  repeating-radial-gradient(red 0px,orange 30px,green 40px);
        }
        .box{
            width: 300px;
            height: 300px;
            border:1px solid #bfbfbf;
            padding:10px;
            background-color: #f2f2f2;
            box-shadow: 2px 2px 20px #bfbfbf;
        }
        .box img{
            width:100%;
            height:250px;
        }
        .box p{
            text-align: center;
        }
        .rotate_left{
            float: left;
            transform: rotate(7deg);
        }
        .rotate_right{
            float: left;
            transform: rotate(-7deg);
        }
        .search{
            width:100px;
            height: 30px;
            border: 1px solid #eeeeee;
            border-radius: 20px;
            margin-bottom: 20px;
            cursor: pointer;
            transition-duration: 1s;
            /* duration 持续时间 */
            transition-property: all;
            /* 过度属性，长和宽同时过度 */
            transition-delay: .2s;
            /* 鼠标移入延迟时间 */
            
        }
        .search:hover{
            width: 200px;
            border:1px solid #f00;
        }
    </style>
</head>
<body>
     <!-- 缓慢边长 -->
     <div class="search"></div>
     <!-- 重复渐变 -->
    <div class="repeat-linear"></div>
    <div class="repeat-radial"></div>
    <!-- 盒子阴影 -->
    <div class="box rotate_left">
        <img src="img/1.png">
        <p>第一张:村落</p>
    </div>
    <div class="box rotate_right">
            <img src="img/2.png">
            <p>第二张：冰河</p>
        </div>
       

</body>
</html>